package cn.com.lyb.mrs.dto.requestDTO;

import io.swagger.annotations.ApiModelProperty;

public class JobActionResquest {

    @ApiModelProperty(value = "作业ID。", required = true, dataType = "String")
    private String jobId;

    @ApiModelProperty(value = "是否为HiveMetastore（HMS）流表作业，默认为false。", dataType = "Boolean")
    private Boolean isHms;

    @ApiModelProperty(value = "操作：\n" +
            "● validateSql：SQL校验。\n" +
            "● start：启动。\n" +
            "● stop：停止。\n" +
            "● resume_from_checkpoint：从checkpoint恢复。", required = true, dataType = "String")
    private String action;

    private String tenantId;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public Boolean getHms() {
        return isHms;
    }

    public void setHms(Boolean hms) {
        isHms = hms;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
